 #define  _CRT_SECURE_NO_WARNINGS 1		
#include"stack.h"
void test1()
{
	ST p;
	STInit(&p);
	STPush(&p, 1);
	STPush(&p, 2);
	STPush(&p, 3);
	STPush(&p, 4);
	STPush(&p, 5);
	while (!STEmpty(&p))
	{
		printf("%d ", STTop(&p));
		STPop(&p);
	}

}
int main()
{
	test1();
	return 0;
}



